package com.bmps.springcloud.insuredmicroservice.config.redisson;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * description:
 * redisPool配置
 *
 * @author jackdaw
 * @date 2019-11-28 16:58
 */

//@Configuration
//@ConfigurationProperties(prefix = "spring.redis.lettuce.pool", ignoreUnknownFields = false)
public class RedisPoolProperties {

    private int maxActive;

    private int maxIdle;

    private int minIdle;

    private int maxWait;

    public int getMaxActive() {
        return maxActive;
    }

    public void setMaxActive(int maxActive) {
        this.maxActive = maxActive;
    }

    public int getMaxIdle() {
        return maxIdle;
    }

    public void setMaxIdle(int maxIdle) {
        this.maxIdle = maxIdle;
    }

    public int getMinIdle() {
        return minIdle;
    }

    public void setMinIdle(int minIdle) {
        this.minIdle = minIdle;
    }

    public int getMaxWait() {
        return maxWait;
    }

    public void setMaxWait(int maxWait) {
        this.maxWait = maxWait;
    }
}
